class API {
  static const userInfo = '/api/users/info';
  static const userLogin = '/api/login';

  // static const sendVerificationCode = '/api/sms/code';
  // static const sendEmailVerificationCode = '/api/email/code';
  //type  register(注册)、reset(忘记密码)、password(修改密码)
  static const sendVerifyCode = '/api/send-verify-code';
  static const register = '/api/register';

  // static const forgotPassword = '/api/forgot-password';
  static const resetPassword = '/api/users/reset';

  // 心理测试相关接口
  // static const psychologyTests = '/api/psychology/tests'; // 获取心理测试列表
  static const popularTests =
      '/api/psychology/tests'; // 获取受欢迎的测试列表，参数popular=true
  static const psychologyTypes = '/api/psychology/types'; // 获取心理测试类型列表
  static const psychologySearch = '/api/psychology/search'; // 搜索心理测试，参数keyword

  static const psychologyCreate = '/api/psychology/ai/create';
  static const psychologyDetail = '/api/psychology/test/detail';
  
  // 收藏相关接口
  static const favoriteAdd = '/api/psychology/favorite/add'; // 添加收藏
  static const favoriteRemove = '/api/psychology/favorite/remove'; // 取消收藏
  
  // 测试提交相关接口
  static const testSubmit = '/api/psychology/test/submit'; // 提交测试答案

  static const testUserDetail = '/api/psychology/user/test/detail'; // 获取测试结果

  static const testStart = '/api/psychology/test/start'; // 开始测试
  static const uploadUserPhoto = '/api/users/avatar/upload'; // 上传头像

  // 用户测试历史接口
  static const userTestHistory = '/api/psychology/user/tests'; // 获取用户测试历史列表，参数page、size、status

  //TODO：
  static const heartbeat = '';
}
